package com.vicent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author vincent
 * @since 2023-09-01
 */
@Getter
@Setter
@TableName("t_refund_info")
@ApiModel(value = "RefundInfo对象", description = "")
public class RefundInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("款单id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("商户订单编号")
    private String orderNo;

    @ApiModelProperty("商户退款单编号")
    private String refundNo;

    @ApiModelProperty("支付系统退款单号")
    private String refundId;

    @ApiModelProperty("原订单金额(分)")
    private Integer totalFee;

    @ApiModelProperty("退款金额(分)")
    private Integer refund;

    @ApiModelProperty("退款原因")
    private String reason;

    @ApiModelProperty("退款状态")
    private String refundStatus;

    @ApiModelProperty("申请退款返回参数")
    private String contentReturn;

    @ApiModelProperty("退款结果通知参数")
    private String contentNotify;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;


}
